New XEN_DOMCTL_set_target
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 23 Jan 2008 13:21:44 +0000 (13:21 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 23 Jan 2008 13:21:44 +0000 (13:21 +0000)
commit47fcfcb75b5d5ece1bba1aeca8e2d99b0103d6c4
tree7f798956328c11549823567152ffb71698fc062b
parentd352a2fb4de6720cc11376bebf3ced95f4f18c17
New XEN_DOMCTL_set_target
Stubdomains (and probably other domain disagregation elements too)
need to be able to tinker with another domain.  This adds IS_PRIV_FOR
that extends IS_PRIV by allowing domains to have privileges over a
given "target" domain.  XEN_DOMCTL_set_target permits to set this
"target". A new 'target' configuration option makes the domain builder
use it.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
25 files changed:
tools/libxc/xc_domain.c
tools/libxc/xenctrl.h
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/xend/XendConfig.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xm/create.py
xen/arch/ia64/vmx/vmx_hypercall.c
xen/arch/ia64/xen/dom0_ops.c
xen/arch/ia64/xen/hypercall.c
xen/arch/ia64/xen/mm.c
xen/arch/ia64/xen/xensetup.c
xen/arch/powerpc/setup.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/mm.c
xen/arch/x86/mm/shadow/multi.c
xen/arch/x86/setup.c
xen/common/domain.c
xen/common/domctl.c
xen/common/event_channel.c
xen/common/grant_table.c
xen/common/memory.c
xen/common/schedule.c
xen/include/public/domctl.h
xen/include/xen/sched.h
xen/xsm/acm/acm_simple_type_enforcement_hooks.c